#include <iostream>
using namespace std;
int main()
{
    int n;
    char c;
    cin>>n>>c;
    for(int row = 0; row<n; row++)
    {
        for(int col = 0; col<=row; col++)
        {
          cout<<c;   
        }
        cout<<endl;
    }
}